|
|
|
|
|
|
|
Figure 1.2.
The design phase of the life cycle is a cycle of steps itself. |
|
|
|
|
|
|
|
|
After you write down the functional definitions for your application, you would start translating them into a technical definition. As you move from one step to the next, you'll probably find things that you missed the first time; back up, rewrite that definition, and then continue forward again. In this way, when you start coding, it will be almost a line-for-line translation from your pseudocode to Visual Basic code. |
|
|
|
|
|
|
|
|
If you think of designing an application the way a house is designed, you would get a good feel for the step-by-step approach you should set up before actually building the application. For example, you wouldn't put the roof of the house up before the walls are put into place, and you wouldn't put the walls up before the foundation is poured. You also wouldn't take a pile of lumber and just start nailing the wood together without a plan. If you did this, your house would not be habitable. It's the same with an application. The plan, or design, is the foundation of the application. If you start with a good foundation, your application will hold up, no matter how hard it is used. |
|
|
|
|
|
|
|
|
To get a good design, you need to understand what the application will consist of. A house and an application must be built according to a carefully laid out series of steps. In a Visual Basic application, you don't want to create any code before you create the forms, or create the forms before you know what types of forms you need or their functions. |
|
|
|
|
|
|
|
|
If you build the application in the wrong order or leave a part out, it will be that much harder to add the code when the rest of the application is finished. It could take longer to finish, or never work at all. To design an application correctly, you must first understand what you want it to do. |
|
|
|
|
|
|
|
|
The first step in the design process is to put the overall application definition into words. This is usually done by writing a short paragraph describing exactly what the application is and what it will be able to dofor example, |
|
|
|
 |
|
|
|
|
Personal Address/Phone Book. This application will keep track of names, addresses, and phone numbers by name. It will allow as many different addresses and phone numbers as needed. Also, it will allow the entry of some personal information (such |
|
|
|
|
|